<div
	class="list-box">
	<div class="list-box-header">
		<span class="bold">Top thành viên</span>

		<div class="clear"></div>
	</div>
	<!--end .list-box-header-->
	<div class="list-box-body">
		<div class="dark-bar"></div>
		<!--end .dark-bar-->
		<ul class="cat-list">
		<?php $i = 0;?>
	<?php foreach($userranks as $row):?>
		<?php $i = $i+1;?>
		<?php if($i == 1): ?>
		<li><a href="<?php echo base_url().'store/u/'.$row->id;?>"><img
					src="<?php echo base_url('src/store/top.png')?>"
					alt="Giải Trí" height="19px" width="19px"><p><?php echo $i." <font color=red><b>".$row->username."</b></font>";?></p></a></li>
					<?php elseif($i == 2):?>
					<li><a href="<?php echo base_url().'store/u/'.$row->id;?>"><img
					src="<?php echo base_url('src/store/top.png')?>"
					alt="Giải Trí" height="19px" width="19px"><p><?php echo $i." <font color=blue><b>".$row->username."</b></font>";?></p></a></li>
					<?php elseif($i == 3):?>
					<li><a href="<?php echo base_url().'store/u/'.$row->id;?>"><img
					src="<?php echo base_url('src/store/top.png')?>"
					alt="Giải Trí" height="19px" width="19px"><p><?php echo $i." <font color=yellow><b>".$row->username."</b></font>";?></p></a></li>
					<?php elseif($i == 4):?>
					<li><a href="<?php echo base_url().'store/u/'.$row->id;?>"><img
					src="<?php echo base_url('src/store/top.png')?>"
					alt="Giải Trí" height="19px" width="19px"><p><?php echo $i." <font color=green><b>".$row->username."</b></font>";?></p></a></li>
					<?php elseif($i == 5):?>
					<li><a href="<?php echo base_url().'store/u/'.$row->id;?>"><img
					src="<?php echo base_url('src/store/top.png')?>"
					alt="Giải Trí" height="19px" width="19px"><p><?php echo $i." <font color=blue><b>".$row->username."</b></font>";?></p></a></li>
					<?php else:?>
					<li><a href="<?php echo base_url().'store/u/'.$row->id;?>"><img
					src="<?php echo base_url('src/store/top.png')?>"
					alt="Giải Trí" height="19px" width="19px"><p><?php echo $i."  ".$row->username;?></p></a></li>
					<?php endif;?>
	<?php endforeach;?>
	</ul>
		<div class="dark-bar"></div>
		<!--end .dark-bar-->

	</div>
	<!--end .list-box-body-->
	<div class="list-box-footer"></div>
	<!--end .list-box-footer-->
</div>